import request from '@/utils/request'
// ============================== 视频监控 ==============================
// 用电参数 ---- 顶部参数查询
export function electricityParameters(id, type) {
    return request({
        url: `/admin/electricParam/index/${id}/${type}`,
        method: 'GET'
    })
}
// 实时监控的图表
export function monitorChartData(data) {
    return request({
        url: '/admin/electricParam/getMonitorChartData',
        method: 'POST',
        data
    })
}
// 获取报警管理-报警统计数据
export function policeStatistics(data) {
    return request({
        url: '/admin/alarmStatistics/getChartData',
        method: 'post',
        data
    })
}